<%--
  Code must be sexy
  Created by Jiang Tao on 2017/4/27
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="bjui-pageContent">
    <div style="margin:0px;">
        <table id="taskList" data-width="100%" data-height="500" class="table table-bordered">
            <tr>
                <th style="text-align: center;width: 10%">序号</th>
                <th style="text-align: center;width: 50%">任务名称</th>
                <th style="text-align: center">任务执行时间</th>
            </tr>
            <c:forEach var="task" items="${data}" varStatus="status">
                <tr>
                    <td style="text-align: center;width: 10%">${status.index+1}</td>
                    <td style="text-align: center;width: 45%">${task.get(0)}</td>
                    <td style="text-align: center;width: 45%">${task.get(1)}</td>
                </tr>
            </c:forEach>
        </table>
    </div>
</div>
